package com.ovopark.organize.server.service;

import com.ovopark.organize.server.model.entity.FranchiseesRegistrationContent;
import com.ovopark.organize.server.model.query.RegistrationFieldQuery;
import com.ovopark.organize.server.model.vo.FranchiseesRegistrationFieldVo;

import java.util.List;

/**
 * @Description:
 * @Author:zll
 * @Date:
 */
public interface FranchiseesRegistrationContentService {


    void saveOrUpdateByRegistrationId(Integer registrationId, List<FranchiseesRegistrationFieldVo> fieldVo,Integer userId,Integer groupId);


    List<FranchiseesRegistrationContent> getRegistrationContentByRegistrationId(Integer registrationId);


    FranchiseesRegistrationContent saveRegistrationContent(FranchiseesRegistrationContent content);

    void deletedRegistrationContentByIds(List<Integer> ids);


    List<Integer> getRegistrationIdByQuery(Integer groupId, List<RegistrationFieldQuery> fieldIds);

    void updateFieldIdByOldFieldId(Integer fieldId, Integer newFieldId, Integer groupId, Integer oldSelectId, Integer selectId);
}
